import type { App } from "vue";
import { BaseDialog } from "~/utils/BaseDialog";

export default {
  install: (app: App) => {
    // 注入上下文
    abstract class VueBaseDialog extends BaseDialog {
      protected constructor() {
        super();
      }
    }

    app.config.globalProperties.$VueBaseDialog = VueBaseDialog;
  },
};
